package com.lyb.service;

import com.lyb.pojo.Category;
import com.lyb.utils.Result;

import java.util.List;

public interface CategoryService {

    Result queryList();

    Result queryByPage(Integer page, Integer size, String keyword);

    Result queryById(Integer id);

    Result saveCategory(Category category);

    Result updateCategory(Category category);

    Result deleteCategory(Integer id);
}
